package com.zjuh.taofood.biz.dao;

import java.util.List;

import com.zjuh.taofood.biz.domain.CategoryDO;

public interface CategoryDAO {

	public long create(CategoryDO category);

	public void delete(long id);

	public void update(CategoryDO category);

	public CategoryDO queryById(long id);
	
	public CategoryDO queryByCid(long cid);
	
	public List<CategoryDO> queryByParentCid(long parentCid);

}
